//
//  RootViewController.m
//  KYSlide
//
//  Created by wesleyxiao on 14-3-20.
//  Copyright (c) 2014年 wesleyxiao. All rights reserved.
//

#import "RootViewController.h"
#import "KYSlideView.h"

@interface RootViewController ()

@end

@implementation RootViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    KYSlideView * view = [[KYSlideView alloc]initWithFrame:CGRectMake(0, 100, 320, 320)];
    [self.view addSubview:view];
    view.backgroundColor = [UIColor greenColor];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
}

@end
